package communication;

import java.io.Serializable;

public class ConnectRequest implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4056797008747619761L;
	public static final int REQ_REGISTER = 1;
	public static final int REQ_LOGIN = 2;

	private String username="";
	private String password="";
	private int type;
	
	
	public ConnectRequest(String username, String password, int type) {
		super();
		this.username = username;
		this.password = password;
		this.type = type;
	}


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public int getType() {
		return type;
	}


	public void setType(int type) {
		this.type = type;
	}
	
	
	
	
}
